put (w+e)*12*25.4/(sg*16)&" mm" into card field fc
end if
set lockscreen to false
end calculate
-- part 1 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=73 top=117 right=142 bottom=136
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Gage
----- HyperTalk script -----
on mouseUp
global g,fa,fb,fc,sg,e
put 0 into e
put 1 into fa
put 2 into fb
put 3 into fc
put 480 into sg
ask "Enter Gage"
put it into g
calculate
end mouseUp
-- part 2 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=73 top=141 right=160 bottom=136
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 35 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=25 top=160 right=180 bottom=99
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 53 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=121 right=137 bottom=158
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 36 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=111 top=160 right=180 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 54 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=169 top=122 right=138 bottom=186
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 37 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=70 top=255 right=280 bottom=133
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Gage
----- HyperTalk script -----
on mouseUp
global g,fa,fb,fc,sg,e
put 0 into e
put 4 into fa
put 5 into fb
put 6 into fc
put 489.6 into sg
ask "Enter Gage"
put it into g
calculate
end mouseUp
-- part 38 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=70 top=279 right=298 bottom=133
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 39 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=24 top=298 right=318 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 40 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=111 top=298 right=318 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 55 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=263 right=279 bottom=158
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 56 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=180 top=261 right=277 bottom=197
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 41 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=371 top=116 right=141 bottom=434
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Gage
----- HyperTalk script -----
on mouseUp
global g,fa,fb,fc,sg,e
put 2.5 into e
put 7 into fa
put 8 into fb
put 9 into fc
put 489.6 into sg
ask "Enter Gage"
put it into g
calculate
end mouseUp
-- part 57 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=439 top=123 right=139 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 58 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=467 top=123 right=139 bottom=484
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 42 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=377 top=254 right=279 bottom=440
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Gage
----- HyperTalk script -----
on mouseUp
put 0 into w
ask "Enter Gage"
put it into g
put g into card field 10
if g=0 then put ..3249 into w
if g=1 then put .2893 into w
if g=2 then put .2576 into w
if g=3 then put .2294 into w
if g=4 then put .2043 into w
if g=5 then put .1819 into w
if g=6 then put .1620 into w
if g=7 then put .1443 into w
if g=8 then put .1285 into w
if g=9 then put .1144 into w
if g=10 then put .1019 into w
if g=11 then put .0907 into w
if g=12 then put .0808 into w
if g=13 then put .0720 into w
if g=14 then put .0641 into w
if g=15 then put .0571 into w
if g=16 then put .0508 into w
if g=17 then put .0453 into w
if g=18 then put .0403 into w
if g=19 then put .0359 into w
if g=20 then put .0320 into w
if g=21 then put .0285 into w
if g=22 then put .0253 into w
if g=23 then put .0226 into w
if g=24 then put .0201 into w
if g=25 then put .0179 into w
if g=26 then put .0159 into w
if g=27 then put .0142 into w
if g=28 then put .0126 into w
if g=29 then put .0113 into w
if g=30 then put .0100 into w
if g=31 then put .00893 into w
if g=32 then put .00795 into w
if g=33 then put .00708 into w
if g=34 then put .00630 into w
if g=35 then put .00561 into w
if g=36 then put .00500 into w
if g=37 then put .00445 into w
if g=38 then put .00397 into w
if g=39 then put .00353 into w
if g=40 then put .00314 into w
if w=0 or Round(g)<>g then
put "Error" into card field 11
put "Error" into card field 12
end if
if w<>0 then
set numberformat to "0.0000"
put w&" in" into card field 11
set numberformat to "0.000"
put w*25.4&" mm" into card field 12
end if
end mouseUp
-- part 43 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=371 top=140 right=159 bottom=434
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 45 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=325 top=159 right=179 bottom=399
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 46 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=410 top=159 right=179 bottom=488
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 48 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=377 top=278 right=297 bottom=440
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 49 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=328 top=297 right=317 bottom=402
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 50 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=413 top=297 right=317 bottom=491
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 59 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=448 top=258 right=274 bottom=465
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 60 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=471 top=259 right=271 bottom=483
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part contents for card part 35
----- text -----
0.1875 in
-- part contents for card part 36
----- text -----
4.762 mm
-- part contents for card part 2
----- text -----
7
-- part contents for card part 38
----- text -----
20
-- part contents for card part 39
----- text -----
0.0368 in
-- part contents for card part 40
----- text -----
0.934 mm
-- part contents for card part 43
----- text -----
12
-- part contents for card part 45
----- text -----
0.1111 in
-- part contents for card part 46
----- text -----
2.821 mm
-- part contents for card part 48
----- text -----
26
-- part contents for card part 49
----- text -----
.0159 in
-- part contents for card part 50
----- text -----
0.404 mm
-- part contents for background part 5
----- text -----
1 --,gage,gages,guage,guages,g,sheet metal gage,wrought iron gage,
2
3
4 --,gage,gages,guage,guages,g,sheet metal gage,steel gage,
5
6
7 --,gage,gages,guage,guages,g,galvanized steel gage,galvanized steel gages,sheet metal gages,gs gage,gs gages,galvanized metal gage,galvanized metal gages,galvanized,gi gage,gi gages,galvanized iron gage,galvanized iron gages,